package com.qunar.qcf.core.session;

/**
 * Mina 中的IO事件类型
 * An {@link Enum} that represents the type of I/O events and requests.
 * Most users won't need to use this class.  It is usually used by internal
 * components to store I/O events.
 *
 */
public enum IoEventType {
    SESSION_CREATED, // 会话创建
    SESSION_OPENED, // 会话打开
    SESSION_CLOSED, // 会话关闭
    MESSAGE_RECEIVED, // 接收消息
    MESSAGE_SENT, // 发送消息
    SESSION_IDLE, //空闲
    EXCEPTION_CAUGHT, //异常捕获
    WRITE,
    CLOSE,
}
